package recommendation;

import java.util.Comparator;

public class ArraySort implements Comparator{

	@Override
	public int compare(Object arg0, Object arg1) {
		MovieSimilar_Value m1 = (MovieSimilar_Value)arg0;
		MovieSimilar_Value m2 = (MovieSimilar_Value)arg1;
		if(m1.getValue()<m2.getValue())
			return 1;
		else
			return -1;
	}

}
